[#escape x as (x)!?html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wb="http://open.weibo.com/wb">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="author" content="atarm"/>
    <title>用户登陆_${site.fullNameOrName}</title>
    <link href="_files/css/base.css" type="text/css" rel="stylesheet"/>
    <script language="javascript" type="text/javascript" src="${fore}/jquery.js"></script>
    <script language="javascript" type="text/javascript" src="${fore}/bluewise.js"></script>
    <script language="javascript" type="text/javascript" src="${fore}/fore.js"></script>
    <script language="javascript" type="text/javascript" src="_files/common.js"></script>
    <script language="javascript" type="text/javascript" src="${fore}/jquery.validation_zh_CN.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#validForm").validate();
            $("#username").focus().select();
        });
    </script>
</head>
<body>
<div class="tbanner">
    <h1>珍医网</h1>

    <div class="tbanpic"><img src="_files/img/ban.jpg" width="722" height="100"/></div>
</div>
<div class="loginmain"><span class="t"></span><span class="b"></span>

    <div class="logtit">请您填写正确用户信息登录</div>
    <div class="logl">
        <div class="loglcon">
            <form id="validForm" action="${ctx}/login.jspx" method="post" class="input_form">

                <h3>用户登录</h3>

                <div class="framp">
                    <label>用户名：</label>
                    <input name="username" type="text" class="txt1"/>
                </div>
                <div class="framp">
                    <label>&nbsp;&nbsp;密码：</label>
                    <input name="password" type="password" class="txt1"/>
                </div>
                [#if Session.shiroCaptchaRequired??]
                <div class="framp">
                    <label for="captcha" class="label">验证码:</label>
                    <input type="text" id="captcha" name="captcha" class="input required"/>
                </div>
                <div class="framp">
                    <label for="captcha" class="label">&nbsp;</label>
                    <img src="${ctx}/captcha.servlet" onclick="this.src='${ctx}/captcha.servlet?d='+new Date()*1"
                         style="cursor:pointer;border:1px solid #ccc;" title="点击重新获取验证码"/>
                </div>
                [/#if]

                <div class="framp">
                    <input name="submit" type="submit" class="fbtn" value="登录"/><a class="frama" href="/forgot_password.jspx">忘记密码？</a>
                </div>
                <div class="framp">
                    <input name="remember" type="checkbox" value="" class="ml"/> 记住我
                </div>
                <!--放提示信息 s-->
                <div class="framp">
                <span class="tip">
[#if shiroLoginFailure??]
	 [#if shiroLoginFailure=='com.jspxcms.common.security.IncorrectCaptchaException']
	 	验证码错误
	 [#elseif shiroLoginFailure=='com.jspxcms.common.security.CaptchaRequiredException']
	  //do nothing
	 [#elseif shiroLoginFailure=='org.apache.shiro.authc.UnknownAccountException']
	    此用户不在或未激活
	 [#else]
	    账号或密码错误
	 [/#if]
[/#if]
                </span>
                </div>
                <!--放提示信息 e-->
                <div class="loginzh">
                    <strong>其他账号登录</strong>

                    <div style="float: left" id="qqLoginBtn">
                        <a href="javascript:;" onclick="window.location.href='/oauth/checkqq.jspx'">
                            <img src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_7.png"
                                 alt="QQ登录" border="0">
                        </a>
                    </div>
                    <div style="float: left">&nbsp;&nbsp;&nbsp;</div>
                    <div style="float: left" id="wb_connect_btn">
                        <a href="javascript:;" onclick="window.location.href='/oauth/checkweibo.jspx'">
                            <img src="http://timg.sjs.sinajs.cn/t4/appstyle/widget/images/loginButton/loginButton_24.png">
                        </a>
                    </div>

                </div>
            </form>
        </div>
        <p class="lp1">此网站仅为专业医生服务</p>
    </div>
    <div class="logr">
        <p class="p1">还未开通？赶快免费注册一个吧！</p>
        <a href="/register.jspx" class="logrbtn">注册会员</a>

        <p class="p2">
            医学资讯：“资讯深解读，学术零距离” <br/>
            会议纵横：“汇聚权威会议，速递学术前沿”<br/>
            在线学习：“网络精品课程，加快学术提升”<br/>
            病例管理：“远程视频互动，专家在线答疑”<br/>
            医患关系：“同样的新闻，不一样的阅读”<br/>
            论文天地：“专业的写作指导，丰富的范文模板”
        </p>
    </div>
</div>

[#if user?? && user.id>1]
<script>
    window.location.href = "/";
</script>
[#else]


[/#if]


[#include "inc_footer.html" /]
</body>
</html>
[/#escape]